home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6990 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  877 b 

  1. Path: news.compusult.nf.ca!usenet
  2. From: "Barry A. Ryan" <bryan@public.compusult.nf.ca>
  3. Newsgroups: comp.lang.c
  4. Subject: NEED HELP WITH Reading SGI Binary Files With A PC
  5. Date: 17 Feb 1996 00:34:53 GMT
  6. Organization: Compusult Limited, St. John's, NF, Canada
  7. Message-ID: <4g37rd$guh@hobbes.compusult.nf.ca>
  8. NNTP-Posting-Host: ts01_p29.remote.nfld.com
  9.  
  10. Hi Everyone:
  11.  
  12. I have binary data written out with a SGI computer.  I need to read
  13. the binary data file with a PC 486. I've been told that the Bytes are
  14. reversed.  The data contains a mix of int,char,float data. I know the 
  15. structure that the data was written with.  I'am having trouble writing
  16. a routine to read in the binary data in float/int chunks, do the byte
  17. rotation and then recover the float/int data etc. Do anyone have
  18. function to do this? Is it available? Is it covered in a FAQ?
  19. Any help would be appreciated.
  20.  
  21.  
  22.   
  23.